package com.tuling.test.startup;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Lookup;
import org.springframework.stereotype.Component;

@Component
public class UserService {

	@Autowired
	private OrderService orderService;

	public void test(){
		//System.out.println(orderService);
		System.out.println(a());
	}

	@Lookup("orderService")
	public OrderService a(){
		return null;
	}
}
